//
//  ELifeAppDelegate.h
//  ELife
//
//  Created by Sean Chen on 5/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "M13HttpRequest.h"
#import "GetMyData.h"

#define USERINFO_MSGSTATUS @"userinfo_msgstatus" //短信通道
#define USERINFO_USERNAME @"myUsername"   
#define USERINFO_PASSWORD @"myPassword"



@interface ELifeAppDelegate : NSObject <UIApplicationDelegate, UITabBarControllerDelegate> {
    UIWindow *window;
    UITabBarController *tabBarController;
    UIImageView* elifeIMage;
    
    M13HttpRequest* httpReq;
    
    //短信通道
    NSMutableDictionary* infoDiction;
    
    UIImageView* backImage;
    
    NSArray* tuangou;
}
@property (nonatomic) UIImageView* backImage;
@property (nonatomic, retain) IBOutlet UIWindow *window;

@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;

@property (nonatomic) NSMutableDictionary* infoDiction;

@property (nonatomic, retain) IBOutlet UIImageView* elifeIMage;
@property (nonatomic, retain) NSArray* tuangou;

+(ELifeAppDelegate *) App;
-(void)controllNum:(NSInteger)num setNavigationBar:(BOOL)hidden animated:(BOOL)animated;

-(M13HttpRequest*) httpRequestPoint;

- (void) showProgressDialog:(NSString *)msg;
- (void) hideProgressDialog;
-(void) setInfoValue:(NSString*)value setInfoKey:(NSString*)key;

-(void)finishMyInfoPage;

@end
